﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace temperatur
{
    public class TemperatureConverter
    {
        public int CelsiusToFahrenheit(int degreesC) 
        {
            int fahrenheit = (int)(degreesC * 1.8 + 32);

            return fahrenheit;
        }

        public int FahrenheitToCelsius(int degreesF)
        {
            int celsius = (degreesF - 32) * 5 / 9;
            return celsius;
        }
    }
}